export default [
  {
    path: '/user',
    layout: false,
    routes: [{ name: '登录', path: '/user/login', component: './user/login' }],
  },
  {
    path: '/dialogue',
    component: '@/pages/dialogue/index.tsx', // 必须带文件扩展名
    exact: true,
  },
  { path: '/', redirect: '/dialogue' },
  { path: '/*', component: '@/pages/404' } // 通配符路由必须放在最后
];
